<template>
  <div class="video-play">
    <video controls class="video" :poster="picurl" :src="playurl"></video>
  </div>
</template>

<script lang="ts" setup>
defineProps({
  playurl: {
    type: String,
    required: true,
  },
  picurl: {
    type: String,
    required: true,
  },
});
</script>

<style lang="less" scoped>
.video-play {
  background-color: #000;
  .video {
    width: 100%;
    min-height: 210px;
  }
}
</style>
